package com.taoist_awei.blog.security;

import com.taoist_awei.blog.core.AccessService;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

@Component("rbacAuthorityService")
public class RbacAuthorityService implements AccessService {
    @Override
    public boolean hasPermit(HttpServletRequest request, Authentication auth) {
        return true;
    }
}
